FRAMES | NO FRAMES
Schematic Sublayer Object

Overview

This document discusses the JSON Schematic Sublayer Object as returned by the REST API.

A Schematic Sublayer Object provides the following information:

JSON Syntax

{

"id" : <sublayerId>,
"name" : "<sublayerName>",
"featureClassID" : <sublayerFeatureClassID>,
"elementType" : "esriSchematicNodeType" | "esriSchematicLinkType" | "esriSchematicNodeOnLinkType" | "esriSchematicSubLinkType",
"geometryType" : "esriGeometryPoint" | "esriGeometryPolyline" | "esriGeometryPolygon"
"attributes" : [
{
"name": "<attribute1Name>",
"value": "<attribute1Value>"
},
...
{
"name": "<attributeNName>",
"value": "<attributeNValue>"
}
]
}

JSON Examples

//Sample response for a schematic sublayer object related to a link schematic feature class

{
"id" : 3,
"name" : "ISP_PIPES",
"featureClassID" : 32,
"elementType" : "esriSchematicLinkType",
"geometryType" : "esriGeometryPolyline"
"attributes" : [
]
}

//Sample response for a schematic sublayer object related to a node schematic feature class

{
"id" : 1,
"name" : "ISP_Equipments",
"featureClassID" : 31,
"elementType" : "esriSchematicNodeType",
"geometryType" : "esriGeometryPoint"
"attributes" : [
{
"name": "ContainerMargin",
"value": "3"
},
{
"name": "ContainerMarginSymbolsFlag",
"value": "1"
}
]
}

//Sample response for a schematic sublayer object related to a node-on-link schematic feature class

{
"id" : 4,
"name" : "NOL1",
"featureClassID" : 36,
"elementType" : "esriSchematicNodeOnLinkType",
"geometryType" : "esriGeometryPoint"
"attributes" : [
{
"name": "AbsolutePosition",
"value": null
}
]
}